using UnityEngine;

/// <summary>
/// 高坚果 植物数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Plants/TallNutData")]
public class TallNutData : PlantData
{
    [Header("防御属性")]
    [Tooltip("额外护甲值")]
    public int Armor = 0;
    
    [Tooltip("防御力加成（0.0-1.0）")]
    [Range(0.0f, 1.0f)]
    public float DefenseBonus = 0.0f;

    private void OnEnable()
    {
        Type = PlantType.TallNut;
    }
}

